'Weak Dependency Graph [60.0]'
------------------------------
Answer: YES(?,O(n^1))
Input Problem: innermost runtime-complexity with respect to
Rules:
{ g(x, y) -> x
, g(x, y) -> y
, f(s(x), y, y) -> f(y, x, s(x))}
Details:
We have computed the following set of weak (innermost) dependency pairs:
{ g^#(x, y) -> c_0()
, g^#(x, y) -> c_1()
, f^#(s(x), y, y) -> c_2(f^#(y, x, s(x)))}
The usable rules are:
{}
The estimated dependency graph contains the following edges:
{f^#(s(x), y, y) -> c_2(f^#(y, x, s(x)))}
==> {f^#(s(x), y, y) -> c_2(f^#(y, x, s(x)))}
We consider the following path(s):
1) {f^#(s(x), y, y) -> c_2(f^#(y, x, s(x)))}
The usable rules for this path are empty.
We have applied the subprocessor on the union of usable rules and weak (innermost) dependency pairs.
'Weight Gap Principle'
----------------------
Answer: YES(?,O(n^1))
Input Problem: innermost runtime-complexity with respect to
Rules: {f^#(s(x), y, y) -> c_2(f^#(y, x, s(x)))}
Details:
'fastest of 'combine', 'Bounds with default enrichment', 'Bounds with default enrichment''
------------------------------------------------------------------------------------------
Answer: YES(?,O(n^1))
Input Problem: innermost runtime-complexity with respect to
Rules: {f^#(s(x), y, y) -> c_2(f^#(y, x, s(x)))}
Details:
The problem was solved by processor 'combine':
'combine'
---------
Answer: YES(?,O(n^1))
Input Problem: innermost runtime-complexity with respect to
Rules: {f^#(s(x), y, y) -> c_2(f^#(y, x, s(x)))}
Details:
'sequentially if-then-else, sequentially'
-----------------------------------------
Answer: YES(?,O(n^1))
Input Problem: innermost relative runtime-complexity with respect to
Strict Rules: {f^#(s(x), y, y) -> c_2(f^#(y, x, s(x)))}
Weak Rules: {}
Details:
'if Check whether the TRS is strict trs contains single rule then fastest else fastest'
---------------------------------------------------------------------------------------
Answer: YES(?,O(n^1))
Input Problem: innermost relative runtime-complexity with respect to
Strict Rules: {f^#(s(x), y, y) -> c_2(f^#(y, x, s(x)))}
Weak Rules: {}
Details:
a) We first check the conditional [Success]:
We are considering a strict trs contains single rule TRS.
b) We continue with the then-branch:
The problem was solved by processor 'fastest of 'Matrix Interpretation', 'Matrix Interpretation', 'Matrix Interpretation'':
'fastest of 'Matrix Interpretation', 'Matrix Interpretation', 'Matrix Interpretation''
--------------------------------------------------------------------------------------
Answer: YES(?,O(n^1))
Input Problem: innermost relative runtime-complexity with respect to
Strict Rules: {f^#(s(x), y, y) -> c_2(f^#(y, x, s(x)))}
Weak Rules: {}
Details:
The problem was solved by processor 'Matrix Interpretation':
'Matrix Interpretation'
-----------------------
Answer: YES(?,O(n^1))
Input Problem: innermost relative runtime-complexity with respect to
Strict Rules: {f^#(s(x), y, y) -> c_2(f^#(y, x, s(x)))}
Weak Rules: {}
Details:
Interpretation Functions:
g(x1, x2) = [0] x1 + [0] x2 + [0]
f(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
s(x1) = [1] x1 + [6]
g^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0() = [0]
c_1() = [0]
f^#(x1, x2, x3) = [6] x1 + [4] x2 + [2] x3 + [1]
c_2(x1) = [1] x1 + [0]
2) {g^#(x, y) -> c_0()}
The usable rules for this path are empty.
We have oriented the usable rules with the following strongly linear interpretation:
Interpretation Functions:
g(x1, x2) = [0] x1 + [0] x2 + [0]
f(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
s(x1) = [0] x1 + [0]
g^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0() = [0]
c_1() = [0]
f^#(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
c_2(x1) = [0] x1 + [0]
We have applied the subprocessor on the resulting DP-problem:
'Weight Gap Principle'
----------------------
Answer: YES(?,O(n^1))
Input Problem: innermost DP runtime-complexity with respect to
Strict Rules: {g^#(x, y) -> c_0()}
Weak Rules: {}
Details:
We apply the weight gap principle, strictly orienting the rules
{g^#(x, y) -> c_0()}
and weakly orienting the rules
{}
using the following strongly linear interpretation:
Processor 'Matrix Interpretation' oriented the following rules strictly:
{g^#(x, y) -> c_0()}
Details:
Interpretation Functions:
g(x1, x2) = [0] x1 + [0] x2 + [0]
f(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
s(x1) = [0] x1 + [0]
g^#(x1, x2) = [1] x1 + [1] x2 + [4]
c_0() = [0]
c_1() = [0]
f^#(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
c_2(x1) = [0] x1 + [0]
Finally we apply the subprocessor
'Empty TRS'
-----------
Answer: YES(?,O(1))
Input Problem: innermost DP runtime-complexity with respect to
Strict Rules: {}
Weak Rules: {g^#(x, y) -> c_0()}
Details:
The given problem does not contain any strict rules
3) {g^#(x, y) -> c_1()}
The usable rules for this path are empty.
We have oriented the usable rules with the following strongly linear interpretation:
Interpretation Functions:
g(x1, x2) = [0] x1 + [0] x2 + [0]
f(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
s(x1) = [0] x1 + [0]
g^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0() = [0]
c_1() = [0]
f^#(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
c_2(x1) = [0] x1 + [0]
We have applied the subprocessor on the resulting DP-problem:
'Weight Gap Principle'
----------------------
Answer: YES(?,O(n^1))
Input Problem: innermost DP runtime-complexity with respect to
Strict Rules: {g^#(x, y) -> c_1()}
Weak Rules: {}
Details:
We apply the weight gap principle, strictly orienting the rules
{g^#(x, y) -> c_1()}
and weakly orienting the rules
{}
using the following strongly linear interpretation:
Processor 'Matrix Interpretation' oriented the following rules strictly:
{g^#(x, y) -> c_1()}
Details:
Interpretation Functions:
g(x1, x2) = [0] x1 + [0] x2 + [0]
f(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
s(x1) = [0] x1 + [0]
g^#(x1, x2) = [1] x1 + [1] x2 + [4]
c_0() = [0]
c_1() = [0]
f^#(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
c_2(x1) = [0] x1 + [0]
Finally we apply the subprocessor
'Empty TRS'
-----------
Answer: YES(?,O(1))
Input Problem: innermost DP runtime-complexity with respect to
Strict Rules: {}
Weak Rules: {g^#(x, y) -> c_1()}
Details:
The given problem does not contain any strict rules